package com.lehecai.core.api.partner;

import com.lehecai.core.api.AbstractApiResultBean;

/**
 * 渠道区间
 * Created with IntelliJ IDEA.
 * User: JSH
 * Date: 2014/12/26
 * Time: 14:19
 */
public class PartnerInterval extends AbstractApiResultBean {

    public static final String SET_PARTNER_ID = "partner_id";
    public static final String SET_NAME_PREFIX = "source_name_prefix";
    public static final String SET_LEFT_INTERVAL = "begin_source";
    public static final String SET_RIGHT_INTERVAL = "end_source";
    public static final String SET_IS_EXIST = "is_exist";
    public static final String SET_STATUS = "status";

    private Integer partnerId;          //渠道id
    private String namePrefix;          //名称前缀
    private Integer leftInterval;       //左区间
    private Integer rightInterval;      //右区间
    private Integer isExist;            //是否存在
    private Integer status;             //是否开启(1 开启 2 关闭 默认开启)

    public Integer getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(Integer partnerId) {
        this.partnerId = partnerId;
    }

    public String getNamePrefix() {
        return namePrefix;
    }

    public void setNamePrefix(String namePrefix) {
        this.namePrefix = namePrefix;
    }

    public Integer getLeftInterval() {
        return leftInterval;
    }

    public void setLeftInterval(Integer leftInterval) {
        this.leftInterval = leftInterval;
    }

    public Integer getRightInterval() {
        return rightInterval;
    }

    public void setRightInterval(Integer rightInterval) {
        this.rightInterval = rightInterval;
    }

    public Integer getIsExist() {
        return isExist;
    }

    public void setIsExist(Integer isExist) {
        this.isExist = isExist;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
